Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
What is it: A hack to make the output of dosearch.php look more like UBB Classic.

You can see an example here.

Backup your dosearch.php file and just follow the instructions in the attachment.

Props to Rick Baker for helping me work out the details of this hack!
Attachments
61784-dosearch-hack.txt (0 Bytes, 42 downloads)

Sponsored Links
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Thanks Dalantech

Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
I've seen a lot of people request this one, so I figured I'd move it to the finished mods.

I wrote it during the same time frame that I was just starting to learn PHP, so Rick Baker gave me a lot of help on this one (truth be known he practically wrote it himself over the course of about a week).

Normally I don't like making Threads look like Classic, I like Threads just the way it is. But the search results that the standard dosearch.php file returns isn't user friendly for people who are use to the Classic version, and I ran a Classic board that I converted to Threads. My users wanted the "old" search results, so here they are

Last edited by Dalantech; 12/11/2002 1:37 AM.
Joined: Mar 2000
Posts: 21,080
Likes: 3
I type like Navaho
I type like Navaho
Joined: Mar 2000
Posts: 21,080
Likes: 3
Hey, thanks for the code


- Allen wavey
- What Drives You?
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
No proplem. Thank Rick!

Sponsored Links
Joined: Dec 2002
Posts: 1
Lurker
Lurker
Offline
Joined: Dec 2002
Posts: 1
This hack finds the searched words in the first
post of the thread but not in the other posts
(like the third post of a thread).

Users are writing saying that the new search
hack wouldn't find search words completely in
all the posts of a thread. I verified this.

Any suggestions?

(Otherwise, it is an awesome hack and greatly
appreciated. Thanks for your work and kindness
in posting these hacks.)

Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
I haven't noticed. Have you tested the search page before and after the hack?

The areas that I changed were connected with the posts in the last x number of hours, but limited to one return per match. If it's causing the search to be partialy disabled then I'll take the hack down until I have tome to go over it.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 555
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 20
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)